//--------------------------------------------------------------------------------
// This file is a portion of the D2D1Renderer.  It is distributed
// under the MIT License, available in the root of this distribution and 
// at the following URL:
//
// http://www.opensource.org/licenses/mit-license.php
//
// Copyright (c) Mirco Timmermann
//
//--------------------------------------------------------------------------------
#include "MouseEvent.h"


const int MouseEvent::BUTTON1 = 0;
const int MouseEvent::BUTTON2 = 1;
const int MouseEvent::BUTTON3 = 2;
const int MouseEvent::BUTTON4 = 3;
const int MouseEvent::BUTTON5 = 4;


const std::string MouseEvent::DOUBLE_CLICK_ = "DOUBLE_CLICK";
const std::string MouseEvent::MIDDLE_CLICK = "MIDDLE_CLICK";
const std::string MouseEvent::MIDDLE_MOUSE_DOWN = "MIDDLE_MOUSE_DOWN";
const std::string MouseEvent::MIDDLE_MOUSE_UP = "MIDDLE_MOUSE_UP";

///*
//const std::string MouseEvent::CLICK = "CLICK";
const std::string MouseEvent::MOUSE_DOWN = "MOUSE_DOWN";
const std::string MouseEvent::MOUSE_UP = "MOUSE_UP";
const std::string MouseEvent::MOUSE_LEAVE = "MOUSE_LEAVE";
const std::string MouseEvent::MOUSE_RAISE = "MOUSE_RAISE";
const std::string MouseEvent::MOUSE_DRAG = "MOUSE_DRAG";
//*/
const std::string MouseEvent::FOCUS_LOST = "FOCUS_LOST";

////////////

//const std::string MouseEvent::CLICK0 = "CLICK0";
const std::string MouseEvent::MOUSE_DOWN0 = "MOUSE_DOWN0";
const std::string MouseEvent::MOUSE_UP0 = "MOUSE_UP0";
const std::string MouseEvent::MOUSE_LEAVE0 = "MOUSE_LEAVE0";
const std::string MouseEvent::MOUSE_RAISE0 = "MOUSE_RAISE0";
const std::string MouseEvent::MOUSE_DRAG0 = "MOUSE_DRAG0";
//const std::string MouseEvent::FOCUS_LOST0 = "FOCUS_LOST0";

//const std::string MouseEvent::CLICK1 = "CLICK1";
const std::string MouseEvent::MOUSE_DOWN1 = "MOUSE_DOWN1";
const std::string MouseEvent::MOUSE_UP1 = "MOUSE_UP1";
const std::string MouseEvent::MOUSE_LEAVE1 = "MOUSE_LEAVE1";
const std::string MouseEvent::MOUSE_RAISE1 = "MOUSE_RAISE1";
const std::string MouseEvent::MOUSE_DRAG1 = "MOUSE_DRAG1";
//const std::string MouseEvent::FOCUS_LOST1 = "FOCUS_LOST1";

//const std::string MouseEvent::CLICK2 = "CLICK2";
const std::string MouseEvent::MOUSE_DOWN2 = "MOUSE_DOWN2";
const std::string MouseEvent::MOUSE_UP2 = "MOUSE_UP2";
const std::string MouseEvent::MOUSE_LEAVE2 = "MOUSE_LEAVE2";
const std::string MouseEvent::MOUSE_RAISE2 = "MOUSE_RAISE2";
const std::string MouseEvent::MOUSE_DRAG2 = "MOUSE_DRAG2";
//const std::string MouseEvent::FOCUS_LOST2 = "FOCUS_LOST2";

//const std::string MouseEvent::CLICK3 = "CLICK3";
const std::string MouseEvent::MOUSE_DOWN3 = "MOUSE_DOWN3";
const std::string MouseEvent::MOUSE_UP3 = "MOUSE_UP3";
const std::string MouseEvent::MOUSE_LEAVE3 = "MOUSE_LEAVE3";
const std::string MouseEvent::MOUSE_RAISE3 = "MOUSE_RAISE3";
const std::string MouseEvent::MOUSE_DRAG3 = "MOUSE_DRAG3";
//const std::string MouseEvent::FOCUS_LOST3 = "FOCUS_LOST3";

//const std::string MouseEvent::CLICK4 = "CLICK4";
const std::string MouseEvent::MOUSE_DOWN4 = "MOUSE_DOWN4";
const std::string MouseEvent::MOUSE_UP4 = "MOUSE_UP4";
const std::string MouseEvent::MOUSE_LEAVE4 = "MOUSE_LEAVE4";
const std::string MouseEvent::MOUSE_RAISE4 = "MOUSE_RAISE4";
const std::string MouseEvent::MOUSE_DRAG4 = "MOUSE_DRAG4";
//const std::string MouseEvent::FOCUS_LOST4 = "FOCUS_LOST4";

////////////

const std::string MouseEvent::MOUSE_MOVE = "MOUSE_MOVE";

const std::string MouseEvent::MOUSE_OUT = "MOUSE_OUT";
const std::string MouseEvent::MOUSE_OVER = "MOUSE_OVER";
const std::string MouseEvent::MOUSE_WHEEL_ = "MOUSE_WHEEL";
const std::string MouseEvent::RIGHT_CLICK = "RIGHT_CLICK";
const std::string MouseEvent::RIGHT_MOUSE_DOWN = "RIGHT_MOUSE_DOWN";
const std::string MouseEvent::RIGHT_MOUSE_UP = "RIGHT_MOUSE_UP";
const std::string MouseEvent::ROLL_OUT = "ROLL_OUT";
//const std::string MouseEvent::ROLL_OVER = "ROLL_OVER";
